<!doctype html>
<head>
<meta charset="utf-8"/>
<meta name="timeout" content="long">
<script src="/resources/testharness.js"></script>
<script src="/cookies/resources/testharness-helpers.js"></script>
<title>Test partitioned cookies ancestor chain: same site embed</title>
</head>
<body>
<script>

test(() => {
  assert_false(document.cookie.includes("__Host-same=site"));
  assert_true(document.cookie.includes("__Host-foo=bar"));
}, "Same-site embed partitioned cookie access");

</script>
</body>
